clock: fix warning

Fix new warning introduced in commit removing NetworkManager
dependency.