Vector bundles, linear systems and extensions of pi_1