Fix crash when no config file exists, and fix config access from Model
class.

refs #1943