Improved idempotency of wget exec resource and fixed variable expansion.