Minor bug fix.

- Added a step for deleting the old environment template before creating
  a new one.