Fix NPE for unavailable module list