bin/gandalf: also accepting slash on command validation