mkrepo: Create and use mysystem() for all system() calls

To get more info about what's going on.

3d3c78d2-c2df-11e2-bbe1-001f3b596ec9