Fix checking for notes in the remote repo.