Fix image revving

"*" matches directories too, while "*.*" matches only files.
Merge pull request #281 from silvenon/rev

Fix image revving