capture output from createrepo

This way we will see the output in logs if createrepo fails.

Bug: 920433
Change-Id: Ie3f4796a2c7c0f2d1a34fb3e1c86262fb19e07ee
Merge "capture output from createrepo" into develop