Added error message when specifying an invalid image name