add workaround for composer/composer#2779
Merge branch 'add-workaround-composer' into develop