Try to get the pwd.