Fixed path issue for API lib.
Merge pull request #706 from candlepin/mstead/script-path-fix

Fixed path issue for API lib.