Merge pull request #4833 from csware/drop-empty-dirs Remove empty (sub-)directories when deleting refs