Bugfix: Only replace strings in module.hot.accept dependency array.

Bugfix: Only replace strings in module.hot.accept dependency array.