fix usecase when a placeholder is not defined but an option with an empty value exists. fixes #1573