Ensure that we pass environment to ActiveRecord::Tasks::DatabaseTasks