Removing leading colons from directories