container: fix resource_paths to be absolute.