Expand the source path in the action plugin when not using a remote source

Fixes #6209