98systemd/rootfs-generator: Use builtins instead of 'grep' (bnc#897252)

Signed-off-by: Julian Wolf <juwolf@suse.de>