Moved the masterless boolean check to puppet_agent_mgr

This fixes a bug in which arguments, like --noop, were getting removed if
masterless was true. Now, intentionally passed arguments are preserved.

Signed-off-by: Byron Sanchez <byron@hackbytes.com>