Make IRC error message more sensible if we failed while 'deploying null'
Add some debugging output