Update ah_bootstrap.py

@cdeil - I think this might fix your issue in gammapy, I'll merge as soon as Travis passes and you can try it out.