Use DatabaseTasks.env instead of Rails.env in databases.rake