In some edge case the image handler is not available, now doesn't throw an exception