This expression, almost certainly alluding to your thought of pie as something sweet and appealing, and sky as inside the air, over and above a person’s reach, was popularized within a Environment War I music frequently attributed to Joe Hill (1927): The image is visible trough the clear space https://www.youtube.com/watch?v=snr3is5MTiU