Assessing the Answerability of Queries in Retrieval-Augmented Code Generation