Deletes empty folders

Fix to Bug 1601 - Only create download folders when needed
Deletes empty folders when the following commands are issued:
- gpo download
- gpo update
- gpo pending