Correct values returned when no matches exist

With the introduction of https://github.com/joomla/joomla-framework/commit/200f4c20d8992146fd568f0771aff1dce7ab29ae We returned 0 for integers and an empty string for path when no matches in the source existed. So here I add back in the old defaults.