1634 dont return none 1

I have done the refactoring for get_filenode_metadata