Fixed obtaining application version from metadata.