Fix exception for non-existent VRF

Trying to modify a prefix in a non-existent VRF would throw an exception
instead of a nicely formatted error message as the vrf variable wasn't
set at the correct time. Fixed!

Fixes #516.
Merge branch '516-fix-nipap-cli-vrf-print'