First attempt for issue https://github.com/pantsbuild/pants/issues/326