Fix single artifact message generation when there is dependencies.

For #10