Correctly handle repos without checked-out branches in source/refresh

Have to make sure repo/checked-out-branch returns non-null before attempting to
parse the branch name.
Remove version number from project version for snapshot builds

This is too easy to forget to update. From now on, will only update this after
the master branch has forked for an actual release.