Fixed bower list --paths` fails with TypeError, fixes #1383