When I harvest yeast from my 30L Speidels that's how I do it. I figure the cap and everything under it was sanitized when I put the beer in, so it should be just fine. I rack, then swirl, then remove the cap and pour into a sterile 1/2 gallon mason jar. Spigots give me the willies and they are a potential leak point.