correct way to check if play version is present

This is the correct way to check if the play version directory is present on the remote server.