Clean up pkg filter text before use. Fixes #12725
Clean up pkg filter text before use. Fixes #12725

Also remove unnecessary echos of the value.

dennypage/pfsense,pfsense/pfsense,NewEraCracker/pfsense,NewEraCracker/pfsense,dennypage/pfsense,dennypage/pfsense,pfsense/pfsense,pfsense/pfsense,NewEraCracker/pfsense,dennypage/pfsense,pfsense/pfsense,NewEraCracker/pfsense