Adjust retrieving the requirements of the project via the requirements.txt file

The changes are based on the proposal from @yaneurabeya at:
https://github.com/fedora-infra/pkgdb2/commit/69a724312e44737d0