track the smartos-overlay git revision correctly

We should actually honor the contents of overlay/order here. If smartos is not actively configured as an overlay that contributes to the build, we shouldn't include it in the /etc/releases. This would cause something that had converted a workspace from a SmartOS build to an SDC build to get incorrect information added.