Check for actual project root instead of remote name, which may differ.