Added diagnostic ls commands as per https://github.com/travis-ci/travis-worker/issues/56