Run testr init if required

heat-templates gate jobs are currently failing due to lack of
.testrepository.

Change-Id: Ia3b487f8634b9382a42b46ad4bf137dafd96277a
Merge "Run testr init if required"