remove invalid repos, fix alias not visible in scripts, missing $ from variable