Exclude non-production folders if running in a production environment