Fixing a problem that prevented running the charity import rake task in production mode.