refactored import rake task to remove nil? condition