Add copy from local repo functionality.

Change-Id: If1fcba76bf0becf9fa9577f59dda1e7cbbdac61b
Signed-off-by: Kiril Nesenko <knesenko@redhat.com>