Rename getRemoteURL to getConstant + fix it

Signed-off-by:Yassine Guedidi <yassine.guedidi@gmail.com>