removed some unneeded code from the import photos rake task.