add missing return statement in RetagPromptCommand

cf #629