install packages with local source only if path exists

allow path and git to both be specified in smart.json
install from git if path doesn't exist