[weld-issues] [JBoss JIRA] Closed: (WELD-497) Check for null in BeanManager.getReference()