function getImportsFromRecord(record) {
  return (has(record, 'record') ? record.record.imports : record.imports) || [];
}
@param {string} rel - a relative URL
@param {string} abs - a fully qualified URL
@returns {string}