Fixes bugdb 16312783, r=rogerk

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_0X_ROLLING@11605 761efcf2-d34d-6b61-9145-99dcacc3edf1
Guard against null name for resourceName

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_0X_ROLLING@11608 761efcf2-d34d-6b61-9145-99dcacc3edf1