Merge pull request #93 from DenisMurashev/STS-3930

STS-3930 Fix & test
Handle strange case where GroovyContentTypes collection is empty.