Fixed a `NoMethodError` in `RepositoryImport#refresh`