CA-89303: A slave without master cannot bring up its management interface.

It should not try to query the DB, since the master is not accessible.

This commit fixes the problem introduces by the fix for CA-87787,
commit: 8d0adadf54911e7b6a645ca1ca2fdb241f65ad3e

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
Merge pull request #977 from jeromemaloberti/CA-89303-tampa-lcm

CA-89303: A slave without master cannot bring up its management interface