Prevent error when calling in a subdirectory with --format tar.