[bug #9813] Don't crash after removing the folder if the context file