Run 'gear build' for build-image job if gear script installed