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

Fixup e238fe5a, introduced in #915.