correctly select created library (IDEADEV-40686)