Use source-repository interface in glance element

Change-Id: I3246ca161a80004d6d9168c1bda8bf9c3c2ee4fa
Merge "Use source-repository interface in glance element"