fix(gatsby-source-drupal): Move reporter message inside condition