commit: Allow local names in WITH-FOREIGN-SLOTS