Fix patch mistake.

Fix the bug introduced by the patch intended fix the ownership of the
image files. A function that checks whether one user exist in the system
or not was always returning True.
Merge pull request #17 from toci-dev/fix-patch

Fix patch mistake.