Fix registering instantiated object with `__invoke()` method
Fix registering instantiated object with `__invoke()` method

When an instantiated object is passed, we should continue to use it.

gedex/wp-cli,2ndkauboy/wp-cli,gitlost/wp-cli,gitlost/wp-cli,aaemnnosttv/wp-cli,GaryJones/wp-cli,GaryJones/wp-cli,shawnhooper/wp-cli,rodrigoprimo/wp-cli,trepmal/wp-cli,trepmal/wp-cli,aaemnnosttv/wp-cli,nyordanov/wp-cli,rodrigoprimo/wp-cli,aaemnnosttv/wp-cli,nyordanov/wp-cli,shawnhooper/wp-cli,shawnhooper/wp-cli,rodrigoprimo/wp-cli,miya0001/wp-cli,2ndkauboy/wp-cli,GaryJones/wp-cli,trepmal/wp-cli,nyordanov/wp-cli,miya0001/wp-cli,gedex/wp-cli,miya0001/wp-cli,gedex/wp-cli,gitlost/wp-cli,2ndkauboy/wp-cli