Improvement:
if shop is installed and module is present, the ignoreKey array doesn't exist. Catch this case and set default value.