Made external repository optional, off by default.