removed debug code
added trim in siterepository $name