Rename argument object to path in discover_repository method
Rename argument object to repo in workdir method