Improved the "ls" command functionality in manager.py.
When server responds with an error during the "init" function call by manager,
the correct error is now printed.