fix sanitation issues, slight rework of repository attribute lookup
Merge pull request #70 from dglunz/refactoring

fix sanitation issues, slight rework of repository attribute lookup