[Fixes #72940798] Fixes syntax when using addloginitem

see comments in https://github.com/pivotal-sprout/sprout/issues/168 for details.