make REPOSITORY extraction work