Add ignore list to custom command as well

In "8dc0c00 Adding ignore list" we added an ignore list env variable, but
didn't add it to the custom command section.

This adds it to the custom command sections so that these commands will be
ignored for a custom command as well.