[fix] Don't assume all resource paths are to files
[fix] Don't assume all resource paths are to files

Fixes: https://nanohub.org/support/ticket/326115

zweidner/hubzero-cms,zooley/hubzero-cms,zooley/hubzero-cms,zooley/hubzero-cms,anthonyfuentes/hubzero-cms,zweidner/hubzero-cms,anthonyfuentes/hubzero-cms,anthonyfuentes/hubzero-cms,zweidner/hubzero-cms,zweidner/hubzero-cms,zooley/hubzero-cms,anthonyfuentes/hubzero-cms