Use safer command to derive version string