Fix EZP-21238: Error when an image alias isn't found

http://jira.ez.no/browse/EZP-21238

The catch block was incorrect (missing use statement), and for some reason, the extra arguments when throwing the exception were causing this error.