Fix auto-merge for cmsdist.

Make sure we set user.email and user.name in cmsdist in case we are
running under mesos.