This expression, almost certainly alluding on the strategy of pie as some thing sweet and desirable, and sky as while in the air, outside of one’s attain, was popularized within a Environment War I tune often attributed to Joe Hill (1927): Hallucination – A vivid notion during the absence https://www.youtube.com/watch?v=snr3is5MTiU