use relative path for siteconf in case of space and update relevant tests
simplify logic