Get repo name from preferences