Fixed a bug in headnode teardown.

Format string was wrong, causing an exception to be thrown.
Merge branch 'master' of github.com:CCI-MOC/haas