message: use notFoundUrl
diff: @@ -4,6 +4,7 @@ import { inject as service } from '@ember/service';
  import RegistrationProviderModel from 'ember-osf-web/models/registration-provider';
  import Analytics from 'ember-osf-web/services/analytics';
  +import { notFoundURL } from 'ember-osf-web/utils/clean-url';
  export default class BrandedRegistriesDiscoverRoute extends Route {
  // this route uses the registries.discover page template where the custom branding is handled
  @@ -20,7 +21,7 @@ export default class BrandedRegistriesDiscoverRoute extends Route {
  if (provider.id === 'osf') {
  this.transitionTo('discover');
  } else {
  - this.transitionTo('page-not-found', window.location.pathname.replace(/^\//, ''));
  + this.transitionTo('page-not-found', notFoundURL(window.location.pathname));
  }
  }
  }
  