Fix regression from #24 if only a sub path of the repository was checked out.