correctly specify whether sanity check should be done for an extension or not
Merge pull request #649 from boegel/fix_bugs

correctly specify whether sanity check should be done for an extension or not