Improving detection of stale config files (fixes #66)