Was testing a nonexistent cfg file, hence the nil

Using a real cfg file results in the expected exception