build-sys: replace loop with list comprehension
build-sys: replace loop with list comprehension

systemd/python-systemd,Awesense/python-systemd,keszybz/python-systemd,keszybz/python-systemd,Awesense/python-systemd,systemd/python-systemd,Awesense/python-systemd