Update README.md

Do not call `callback` if it isn't defined (e.g. when using promises).