Fix econat/dpdk revision calculations

econat and dpdk are git submodules nowdays. Use unified mechanism to access
their hash tags.