Backport of #2365 to 2.4

In get_placeholder_conf check value against None to allow '0' as a valid configuration value