fixes a NPE ocurring in accordance with FACES-1622 in the icefaces3-ipc portlet
FACES-1749 HeadResource throws NullPointerException for resource types other than <link> and <script>