Fixed bug that occurred when pkgsite not specified
Merge pull request #6565 from fabianfreyer/devel

Fixed bug that occurred when pkgsite not specified