Fix error message

Fix error message printed when bad alias was given.