mongodb: dyn suffix no longer needed for extrapath

Closes #27054.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>