allow to pass optional ArtifactsDir to CopyLogs called from PowerOnRun