fixed locale bug in ah_bootstrap.py and make minor change in setup.py that affects how git is queried