Made change to ensure sourceResource was only set for in-place deployment
Made change to prevent file extension from being repeated when bundling is disabled