Solved bug in SNApplicationThread.

The thread was configuring the client hostname with the output
directory.