Added mock build support for origin builds