[PATCH 48/58] buildman: Move reconfigure code into its own function