Return if nothing to update
Return from update if working directory is not clean