* CLI makes request to incorrect URL when namespace is both provided as argument and part of the path fixes #12675 * adding change log * removing a switch and addressing a possibility of out of bound index