I think it would be better to instantiate a ``pulp_rpm.plugins.db.models.RPM`` or ``SRPM`` here and use the ``relative_path`` property, so that the algorithm for creating the relative path is only defined in one place.