Avoid an NPE when image class not set in filter options

If a pass a default filter options object to listImages() I end up with a NPE because the code was assuming that image class would always be set. The patch assumes that if image class is not set that no filter will be done because of the image class (e.g. all image classes will be returned, which in the case of Azure, is only the machine image class).