copy.sh: Use valid rev when _design/app doesn't exist yet