fix for retrieval of image from repo via <$branch>