Fix a NPE when an aggregated resource has no URI path, i.e.
doi:10.1038/ng.507.
Move stability plugin init to a static block.