Merge pull request #849 from grulja/master

Do not return returncode indicating error when listing sessions