construct ComposerRepository instance manually

hardcode pacakge index URL for now.

also, remove set_composer_json_path() helper