Make sure that empty pbi.conf variables do not get written/exported.
Make sure the integer variables are also trimmed if they are empty in pbi-conf.
Oops, fix a stray } in the previous update.