* {@link ResolveGeogigDir}
*/
@Override
protected Repository _call() {
final Platform platform = platform();
final File workingDirectory = platform.pwd();
checkState(workingDirectory != null, "working directory is null");
final File targetDir = this.targetDir == null ? workingDirectory : this.targetDir;
if (!targetDir.exists() && !targetDir.mkdirs()) {
throw new IllegalArgumentException("Can't create directory "