Fixing Restler to remove index.php from the baseUrl if present