added sanity check on repo create/update
Merge pull request #6 from handavid/sanitycheck

added sanity check on repo create/update