Correct exit message
Move smart-source behavior to helper so both commands can benefit.
Allow running an image out of the docker cache if it originally came from the index.