Fix config.get_value allow_overwrite for non-instance case (fixes #937)

Fixup e238fe5a, introduced in #915.
Merge pull request #938 from nidico/feature-937-fix-allow-overwrite

Fix config.get_value allow_overwrite for non-instance case (fixes #937)