Take version from package.json also when there's no .git directory (source releases)