various changes to make everything work like createrepo
Merge branch 'master' of github.com:oxpa/watchbasedir