check for object exist first
Merge pull request #11 from rorito/gh-pages

check for object exist first