Add a check if the backpack is empty on die()

This will handle an empty backpack, it looks better when you see a message saying there was nothing in the backpack instead of just having a newline.