The script needs the full path. It has to get it some way but not necessarily all of it from a cell.
I believe it could be modified to automatically determine the saved location of the Numbers file and use that path as the path for the PDF files. All PDF files would have to be saved in the same folder as the spreadsheet but your cells would require only the filenames. It could also tack a folder name, like "Data Folder" onto the path so all the data files could be in a subfolder. The script is less universal that way but nicer for when the spreadsheet and all its files should be kept together. I know how to get the full path of the active Numbers document but I'm not sure how to hack the filename from the end of it in order to replace it with a subfolder name (if desired) and a filename from a cell.
It could be modified to automatically tack a specific "/Users/username/" and even a folder name to whatever it gets from the cells in your table. You would then only have to specify a folder and filename or just a filename. This would make the script a lot less useful in general, though.
You could use the script as is and change the cell format of the cells that have the filepaths to display the word "File" or some other static text in the cell vs displaying the actual filepath.