When create a new Pipeline with a config like this:
AeroGear.Pipeline({ type: "Rest" });
in this case the Rest Adapter Pipe constructor is also called and an undefined pipe is created