Avoid NPE for beans which were created via factory bean