Fix rake fetch_database