Quickly resolve the main path of a Bower component.