Fix late night coding mistakes
Do not try to deactivate already active virtualenv; add is_armed function