build: Fix make publish

Provide backwards compatability

Change-Id: Ib80e83570298ddaa17128fafcd8836c38d7ac7cc
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
edit-node: handle the "file://" type of baseurl for yum repo

Change-Id: Ic44264f0c62c8785c0b4867fda1e45522d32fc1f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=928756
Signed-off-by: hadong <hadong@redhat.com>
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>