tests: fixed the testGitRepo Git command error (git ls-remote on ssh://git@s1lxblackduck01.wyplay.int was giving a fatal error)
tests: fixed the testGit Git command error at first commit by adding a local user config, $HOME/.gitconfig was not taken into account
fixed all the AttributeError: 'module' object has no attribute 'settings' errors in the test and the xbuilder error when bumping from xbuilder: when BASE_URIs are not defined, get them from portage configs.