Use inspect_image() instead of get_image() when checking for existence (#4).

Fixes #4.