fixed issue in getOriginalPaths() sometimes returning null