fixed issue where profiles disappear

a corrupt download (non-jar) from a bad url made /vm/profiles fail on
list(pdict()).  this change fixed this issue and allows the function to
gracefully continue