isinternetconnectionworking should return false if OC_Config::getValue("has_internet_connection") is false

please review @tanghus @DeepDiver1975