It seems that when repo object on job is not instantiated it can error out when trying to use slug along with slug. Before I dig deeper into this, the easy fix is to pass repo from the top, because on repo view it's loaded already.