Throw an error when downloading remote module definition fails.