Fix adding of rc.local

Signed-off-by: Hans de Goede <hdegoede@redhat.com>