Fixed version comparison while trying to determine source url