fixes a bug in repository introspector
makes API base url configurable