Added test for existence of remote before doing git fetch

This makes the release task work for projects that don't have a remote yet.