Fix last-minute spotted wrong behaviour in rc script