contrib: Use `return` instead of `os.Exit(1)` in analyze-local-images
contrib: Use `return` instead of `os.Exit(1)` in analyze-local-images

In order to cleanup properly the allocated resources (`defer`).

Fixes #117

Quentin-M/clair,jgsqware/clair