Update 17_rebuild_initramfs.sh

Ignore rescue-images in >= rhel7
Ignore images of Plymouth in >= rhel7
Delete unneccessary lines