fix(bower): main path resolving bug fixes
string values (not array) and paths prefixed with ./ were not handled correctly