Fixes #570

https://github.com/Shippable/pm/issues/570