Update to work with git 2.0.1 and later
Fix irritating warning "The boot environment being modified is not the active one"
For correct work patch requires updated libbe_py. If global_active attribute is not exposed by libbe_py, the old behavior is preserved.