Change in ovirt-engine[master]: core: Fix the trimElements method of the OsRepo