Catch error when %PWD no longer exists
Purge old paths if they get in the way

If find too many paths because of those which no longer exist
    then remove them and try again