fix issues in EasyBuild bootstrap script