Avoid mutator code path when necessary.

Avoid the mutator code path completely when there are no registered
mutators, which prevents the mutators_applied item from being added to
the metadata dictionary when there are no mutators.

@Vagabond @engelsanchez @lordnull