fix bug 1313527: localRepoURL is missed when no specFile is provided in CLI