Ensure we don't break when base_dir has a ':'