[repoView] Show Push/Fetch nodes correctly
The "Fetch" node should always be shown if there is at least one fetch
URI, while the "Push" node should always be shown if there is either a
fetch URI or at least one push URI.
The existence of RefSpecs should not be checked here, as there is a
default RefSpec for pushing (we should also have one for fetching, but
it's not implemented yet).
Change-Id: I0799659d121ce95c804416d2b2a11a9e42aebd98
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>