Filter unavailable packages during build