Fix building from source not obeying --dry-run