Guard against cases where vc-mode returns nothings.