Reproduction of https://github.com/meteor/meteor/issues/1337