Fixed bug where LSFGTP tried to delete a non-existent directory