Fixed path index not set warning
Merge pull request #3 from magkopian/master

Fixed warning if self::$cache['path'] is not set