Fixing error in package locator

Fixed a bug in the package locator causing an error when not using
bundle notation