get_sites returned an error since `output` had been changed to `output2` in the `sitename` block.  Changed the variable back to `output`.