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

see isao/mojito-build@c11c48100828397e3f70dd3e20477a40fbf809f6