Corrected the incorrect fix put in for bug 915673 

The previous fix would return a 422 instead of a 404 if the alias does not exist.