Issue LIBCLOUD-455: validate image id