code: function applyBasePath(search) {
  
  	if (_.isUndefined(config.basePath)) {
  		return search;
  	}
  
  	var modifyKeys = ['Bucket', 'CopySource'];
  
  	var ret = _.mapObject(search, function (value, key) {
  		if (_.indexOf(modifyKeys, key) === -1) {
  			return value;
  		}
  		else {
  			return config.basePath + '/' + value;
  		}
  	})
  
  	return ret;
  }
docs: Add basePath to selected keys