Fix substr with shorter name now
Merge pull request #297 from richardhinkamp/composer-name-fix2

Fix substr with shorter name now