simplify error handling from get_remote_bucket_by_ref
simplify error handling from get_remote_bucket_by_ref

Change-Id: I602c18c45564a8b38c5a3c4e0b7b9bd72a8eeb0d
Reviewed-on: http://review.couchbase.org/38448
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Reviewed-by: Artem Stemkovski <15a0730a27c69f62ab86f2b6c639fca202166c02@couchbase.com>

membase/ns_server,ceejatec/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,t3rm1n4l/ns_server,membase/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,ceejatec/ns_server,membase/ns_server,t3rm1n4l/ns_server,membase/ns_server,mschoch/ns_server,ceejatec/ns_server,nimishzynga/ns_server,ceejatec/ns_server,membase/ns_server,ceejatec/ns_server,ceejatec/ns_server,mschoch/ns_server,mschoch/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,membase/ns_server