Use getPath rather than getIdentifier in cleanupTap