Trigger `path` for dirs too