The workaround for this was to just have the Build stage of the pipeline perform some meaningless action (like an ls). In the Deploy stage, I directly used the output of the Source stage.
ls
This isn't the cleanest method, but it works.