backport bugfix for build cmd: spec in mapSpecUris referred to key not value

see isao/mojito-build@c11c48100828397e3f70dd3e20477a40fbf809f6
update test
Merge pull request #1094 from isao/cli

backport bugfix for build cmd: spec in mapSpecUris referred to key not value