Fix loading of coffee config

Resolves #797