Fix issue when reading path lists
Summary: They were not being split properly.
Test Plan: Tests pass, including the new one.
Reviewers: Frameworks, dfaure
Reviewed By: dfaure
Subscribers: dfaure, anthonyfieroni, kde-frameworks-devel
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D14162