Fix can not install when installation path contains the string `/installation`

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31827&start=0