Trying to get assemblyItems path

I am am trying to find out the path of an assembly item I found that using $sys.assemblyItem.getPath() sort of works but also returns the items title I just want the folder path that contains the item

Is this possible?

Cheers
Kevin

We have a function for this in the PSO Toolkit for 6.x


$user.psoFolders.getFolderParentPath($sys.item.GUID)