refactoring: dirname equal to artifactname