insert-ether: nicer error log in case of failure
pylib: add %end to kickstart files

Since Centos 6.x Kickstart file format requires closing %end tag
for sections %post %pre %packages. This patch add this tag to
rocks generated kickstart files.