Handle eventual spaces in .karaf input config files. Replacement stopped...

... working after Karaf 2.4 that introduced spaces around the 'equals' symbol that the 'sed' manipulation wasn't expecting.

Fixes #2401