Check if images exists before building action. Fixes #18