Prevent pungi hack local var hook from being run twice