rose config: fix printing sections with ignored values

Closes #1152.

Also adds a test to check this behaviour.