Fix failing readlink
Cleanup
Merge pull request #2937 from ajaxorg/fix-cloud9sh

Fix cloud9.sh