Resolve template dirs from cmd line

Fixes relative templates specified to `apm init`