This should create relative/absolute dist URLs depending on the way (relative/absolute) the artifact directory path was given.
Merge remote-tracking branch 'webfactory/issue-2698'

Conflicts:
	src/Composer/Repository/ArtifactRepository.php