Drop ROM history if config_path isn't set.

Avoid loading and saving history from/to a potential broken path.