Improve error messages for invalid --nic / --file.

Implemented by catching the valueerror thrown when unpacking a split to
two variables but the split string is not present.