Genie: Fixed use of print statements when variables are null