Fix base dir for glob paths

See https://github.com/strongloop/generator-loopback/issues/12