CBIT-12:  fix name mapping.  MUST RUN ON LINUX

macosx bash shell doesn't support associative arrays!

Change-Id: I4f5ceae784e91f2423e565005b67dd5765f70638
Merge branch 'master' of https://github.com/couchbase/build

* 'master' of https://github.com/couchbase/build:
  Couchbase-lite and sync-gateway staging amends