Allowing checkout to '.'

Changing deprecated test expression