Throw exception if the local repository does not contain a package to uninstall

Fixed TODO in composer's code. Replaces #1455