enable override logic in sgw installer

Change-Id: I57502fbdc6335ab9a27181c78ed46f2e5b4395c0
Reviewed-on: http://review.couchbase.org/36940
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>