Fixed lovebird.print() to handle `nil` properly