committed a bug - put the validation in the wrong spot
Merge pull request #6 from opscode/tduffield/fix-secure-images

committed a bug - put the validation in the wrong spot