Handle different screen -ls output on Ubuntu 14.04