Fix parsegitbranch not found when root and add x to bootstrap.sh