Defensive hasImage - don't assume image versions
Merge pull request #5 from gib/has-image

@dzucconi - Defensive defaultImageVersion no longer assumes image versions exist