Fix for #770: pip install -U shouldn't look at pypi if not needed

Fix for issue #770: If an exact version is specified for install, and that version is
already installed, then there is no point going to pypi as no install
is needed.