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

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