Add not null check after atom.project.getRepo()