Try another way of telling the remote that you are sshing from within a screen session or not