Goalkeepers do that to minimize the risk. If you get a pass there, usually no back pass can go in, no matter if the pitch or the pass is bad, the gk fails to control the ball etc.
In this case the keeper should have never passed to Alaba in the first place. Then both did what they are accustomed...