This method might not need to exist, unless you're trying to make it part of an API. But it's only used once as far as I can tell, being called just from a different method in this class. You could just call ``self.unit_lookup.get(relativepath)`` instead of calling this method.