Fix work dir discovery for latest objective-git API