(maint) Dump master puppet log if failed to start puppet.

Centralize logging after puppet master fails to start.

Before this change, you might miss getting master log output depending on where the failure occurred.