[FIX] raise exception instead of ungraceful exit

anyways Python cannot find an `exit` function, probably `sys.exit(1)` would have been the correct thing to do