Update context.py

added APE_GLOBAL_DIR to context