bridge: Fix bug in equal_pathnames().