Update SonataFormatterExtension.php

Minor fix in fallback-logic for setting the formatter when the config-key has not been set.