Get code location from browse code page.If there's no such page for the project, get code location from home page.