[BISERVER-12298] An invalid call to UnifiedRepository leads to exception

@pentaho-nbaker, @lucboudreau, @mdamour1976, review it please