SAFE-GIL: SAFEty Guided Imitation Learning