code cleanup as suggested in https://github.com/wbond/package_control_channel/pull/3861
Refactor ruby invocation and suggest a way of fixing PATH issues
Refactor string interpolation