Kali: Misc bug fixes

Fixed a warning that would always been shown due to grep
(bad) Fixed for iceweasel addons