typo in ACTIVE_PACKAGE define check