Check for folders before deleting

If these tasks are run when the `neo4j/data/graph.db` folder isn't present, you'll get an exception

```
Errno::ENOENT: No such file or directory
```