get_database_param: return default value

return the default value, if calling bareos-dhcheck fails.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>