Use linked directory names to determine package versions

`.version` file is not used anymore.