edit-node: only add dracut module lines if necessary

Change-Id: I69ea49e9c057093ae1b47cfd63d8a6c0871f1772
Signed-off-by: Joey Boggs <jboggs@redhat.com>