use homepage as repo url if really repo url exists