Fix error on cache:clear (closes #62)
Merge pull request #64 from alquerci/issue62

[5.x] Fix error on cache:clear (closes #62)