Initial support for command line streams
Fix getting repo in a stream source.