Fix error handling
Fix error handling

err is necessarily nil at that location, so this was returning
no error indication.

Signed-off-by: Miloslav Trmač <9c008e38982a5397deb855345fb164f0558459ae@redhat.com>

containers/image,containers/image