Fix PHP-Warning: Invalid argument supplied for foreach()
Merge branch 'paths' of git://github.com/richardhinkamp/bolt into paths