Guard rm of bundle from script.