Strip leading/trailing whitespace from base string when extracting it from either config file.
Strip leading/trailing whitespace from base string when extracting it
from either config file.

Fix typo when referencing a variable.


tpkg/client,tpkg/server,tpkg/pkgs,jaeheung90/tpkg-client,tpkg/pkgs,tpkg/client,tpkg/server,tpkg/server,jaeheung90/tpkg-client,tpkg/client,jaeheung90/tpkg-client,tpkg/pkgs