Fix urls parsing in the parseOptions method