mounts: add g_return_if guards