Updated checking for number of arguments

Use remaining_args attribute, which is where unparsed arguments end up.
Removed tab.
Updated GPG_AGENT_INFO lookup.

Check to see if the GPG_AGENT_INFO_PATH environment variable is given,
and fallback to the default path.