BUG: install_req assumes that the requirement is a Req instance

There are some invocations, that pass a string argument, instead of an
instance of `Req` to `install_req`.  This commit guards against that.