at first he thought the faint hint of warmer air might only be his imagination , but then he caught the scent of trees and grass in the musty air of the cave , and he knew that somewhere ahead there lay an opening - a way out .