fix deploy to custom repo
Apparently option order matters a lot