patch to make undef $experimental_repo work