fix bug in the 'info' cmd, make it more robust

One of the arguments wasn't being sourced correctly. I'd like to find a
better solution to the current argument duplicating because it's not DRY and
leads to these kinds of copy-paste bugs.

The command should detect failure a bit better now too.