m2v2: add detection of container id in URL
and fix M2V2_GET when called with container id only

Change-Id: I52093eae4ba3178bbd965227110792a9ccf90063