Fix #4446.

Update requirements variable to actually hold the local path to the requirements file.
Merge pull request #4462 from melinath/patch-2

Fix #4446.