Don't catch all exceptions in image constraint

Just catch ImageNotFound, as otherwise we can hide other problems.

Change-Id: Ib0e813043b1e4fe7b5b4a14ae8130ac17c4355a5
Closes-Bug: #1297349
Merge "Don't catch all exceptions in image constraint"